//
// Ebouli.cpp for  in /home/gomes_m//RPBaraze/le_projet_a_un_milliard
// 
// Made by mickael gomes
// Login   <gomes_m@epitech.net>
// 
// Started on  Fri Sep  6 16:22:36 2013 mickael gomes
// Last update Fri Sep  6 17:01:48 2013 mickael gomes
//

#include		"Ebouli.hh"

Ebouli::Ebouli()
  : AAttack(10, 15, 15, "Ebouli")
{

}

Ebouli::~Ebouli()
{

}

int		Ebouli::doDamage()
{
  if (!(random() % critical_))
    {
      critHit_ = true;
      return (damage_ * 2);
    }
  return (this->attackRange());
}
